<?php
$configFile = realpath("/home/rsigler/.dynR53.conf");
if (!file_exists($configFile)) {
	echo "Config file ($configFile) does not exist\n";
	exit;
}

if (!is_readable($configFile)) {
	echo "Config file ($configFile) is not readable\n";
	exit;
}

$config = parse_ini_file($configFile, true);
if ($config === false) {
	echo "Failed to parse config file ($configFile)\n";
	exit;
}
print_r($config);
print $config["Credentials"]["key"] . "\n";
?>